<div id="addReceiptRecord" action="verifimonthReceiptMoneyStatement" version="v1.0">
	<div>
		<div class="dataLine">
			<div class="requireInput">付款单位:</div><div><input codeName="付款单位" isNull="1" type="text" name="drawee" /></div><div class="requireInput">付款人:</div><div><input codeName="付款人" isNull="1" type="text" name="disbursementName" /></div><div class="requireInput">付款卡号:</div><div><input codeName="付款卡号" isNull="1" type="text" name="disbursementCreditCard" /></div>
		</div>
		<div class="dataLine">
			<div class="requireInput">付款银行:</div><div><input codeName="付款卡号" isNull="1" type="text" name="disbursementBank" /></div><div class="requireInput">收款人:</div><div><input codeName="收款人" isNull="1" type="text" name="receiptName" /></div><div class="requireInput">收款单位:</div><div><input codeName="收款单位" isNull="1" type="text" name="payee" /></div>
		</div>
		<div class="dataLine">
			<div class="requireInput">收款银行:</div><div><input codeName="收款银行" isNull="1" type="text" name="receiptBank" /></div><div class="requireInput">收款账户:</div><div><select codeName="收款账户" isNull="1" name="accountInfoId"></select></div><div class="requireInput">收款卡号:</div><div><input codeName="收款卡号" isNull="1" type="text" name="receiptCreditCard" /></div>
		</div>
		<div class="dataLine">
			<div class="requireInput">核销时间:</div><div><input codeName="核销时间" isNull="1" type="text" name="writeoffDateTime" readonly="readonly" onfocus="WdatePicker({})" /></div><div class="requireInput">流水号:</div><div><input codeName="流水号" isNull="1" type="text" name="writeoffNumber" /></div><div class="requireInput">生成方式:</div><div><input type="radio" name="radio" checked="checked" value="0"/>自动 <input type="radio" name="radio" value="1" />手动</div>
		</div>
		<div class="dataLine">
			<div class="requireInput">本次收款金额:</div><div><input codeName="本次收款金额" isNull="1" type="text" name="writeoffAmount" /></div><div>余额:</div><div class="ra"></div><div class="requireInput">核销凭证:</div><div><input type="hidden" name="fileUuid" /><input id="addReceiptRecordFilesUuid" type="file" class="none" name="file" /><label class="addfile" for="addReceiptRecordFilesUuid">添加</label></div>
		</div>
		<div class="dataLine">
			<div class="requireInput">核销备注:</div><div style="width: 80%;"><input codeName="核销备注" isNull="1" style="height: 26px; width: 99%;" type="text" name="writeoffRemark" /></div>
		</div>
	</div>
	
	<div style="text-align: center; margin: 10px 0;">
		<a href="javascript:void(0);" class="verify">核销</a>
		<a href="javascript:void(0);" class="close">关闭</a>
	</div>
	
	<table class="table">
	</table>
	<script type="text/template">
		<tr>
			<th><input type="checkbox" class="checkAll" /></th>
			<th>No</th>
			<th>收支编号</th>
			<th>融资编号</th>
			<th>业务类型</th>
			<th>计息本金</th>
			<th>起息日</th>
			<th>结息日</th>
			<th>结息周期（天）</th>
			<th>费率</th>
			<th>本月应还</th>
			<th>余额</th>
			<th>核销金额</th>
		</tr>
		{@each datas as it, index}
		<tr class="tr_style table-data" remainAmount="${it.remainAmount}" financeNumber="${it.financeNumber}" financeId="${it.financeId}" monthEarningDetailId="${it.monthEarningDetailId}" moneyStatementId="${it.moneyStatementId}">
			<td><input type="hidden" name="moneyStatementId" value="${it.moneyStatementId}" /><input type="checkbox" class="checks" /></td>
			<td>${index*1+1}</td>
			<td>${it.statementNumber}</td>
			<td>${it.financeNumber}</td>
			<td>${getValueByKey(7, it.productType)}</td>
			<td>&#65509;${formatCurrency(it.valuationAmount)}</td>
			<td>${(it.settlementStart).substr(0, 10)}</td>
			<td>${(it.settlementEnd).substr(0, 10)}</td>
			<td>${it.days} </td>
			<td>${it.interestRate}%</td>
			<td>&#65509;${formatCurrency(it.shouldPay)}</td>
			<td>&#65509;${formatCurrency(it.remainAmount)}</td>
			<td><span class="verifiAmount">&#65509;0</span><input type="hidden" name="verifiAmount" value="0"/></td>
		</tr>
		{@/each}
	</script>
</div>